import "./global.css";
import router from "./routers/router";
import {BrowserRouter, Routes, Route} from "react-router-dom";
import Menu from "./view/menu";
import Home from "./view/home";
function App() {
  return (
    <>
      <BrowserRouter>
        <Routes>
          <Route path="/" element={<Home />} />
          <Route path="/menu/*" element={<Menu router={router}/>} />
        </Routes>
      </BrowserRouter>
    </>
  );
}

export default App;
